package com.datacompute.test;

import java.io.Serializable;

import org.apache.struts2.ServletActionContext;
import org.springframework.stereotype.Component;

@Component
public class People implements Serializable{

	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	private String email;

	public int say(int name) {
		System.out.print("i am "+name);
		
		return name;
	}
	
	public String toString() {
		
		return this.name+" "+this.email;
	}
}
